/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ships.io.stream;

import java.io.DataInput;
import java.io.IOException;

/**
 *
 * @author fqhuy
 */
public interface ImageInputStream extends DataInput {

    public long getStreamPosition();

    public int read()  throws IOException;

    public void flushBefore(long streamPosition);

    public int read(byte[] b, int off, int len) throws IOException;

    public void seek(long l) throws IOException;

}
